package com.github.ecbp.store.service.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.github.ecbp.common.data.mapper.BaseMapper;
import com.github.ecbp.store.service.entity.Product;
import com.github.ecbp.store.service.vo.ProductPageVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author Created by Alex·He on 2020/4/15 17:21
 * @Version 1.0
 * @Description 商品表(Product)表数据库访问层
 */
public interface ProductMapper extends BaseMapper<Product> {
    List<ProductPageVO> selectPageWithAll(IPage<ProductPageVO> page, @Param(Constants.WRAPPER) Wrapper<Product> wrapper);
}
